package example.simple_mindmap.domain.es;

public class MindMapTemplate {
    public final static String MINDMAP_TEMPLATE =
            "{\n" +
                    "  \"mappings\": {\n" +
                    "    \"properties\": {\n" +
                    "      \"id\":{\n" +
                    "        \"type\": \"keyword\"\n" +
                    "      },\n" +
                    "      \"title\":{\n" +
                    "        \"type\": \"text\",\n" +
                    "        \"analyzer\": \"ik_smart\"\n" +
                    "      },\n" +
                    "      \"nodeList\":{\n" +
                    "        \"type\": \"text\",\n" +
                    "        \"analyzer\": \"ik_smart\"\n" +
                    "      },\n" +
                    "      \"createTime\":{\n" +
                    "        \"type\": \"keyword\"\n" +
                    "      },\n" +
                    "      \"score\":{\n" +
                    "        \"type\": \"double\"\n" +
                    "      },\n" +
                    "      \"like\":{\n" +
                    "        \"type\": \"integer\"\n" +
                    "      },\n" +
                    "      \"view\":{\n" +
                    "        \"type\": \"integer\"\n" +
                    "      },\n" +
                    "      \"collect\":{\n" +
                    "        \"type\": \"integer\"\n" +
                    "      }\n" +
                    "    }\n" +
                    "  }\n" +
                    "}";
}
